<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Le styles -->
<link href="favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
<link href="__HOME_CSS__/sport/css/sporthg.css" media="screen" rel="stylesheet" type="text/css">
<link href="__HOME_CSS__/sport/css/thickbox.css" media="screen" rel="stylesheet" type="text/css">
<!-- Scripts -->
<script type="text/javascript" src="__HOME_JS__/sport/js/jquery.min.js"></script>
<script type="text/javascript" src="__HOME_JS__/sport/js/common.js"></script>
<script type="text/javascript" src="__HOME_JS__/sport/js/sport.js"></script>
<script type="text/javascript" src="__HOME_JS__/sport/js/header.js"></script>
<script type="text/javascript" src="__HOME_JS__/sport/js/thickbox.js"></script></head>
<body>
<script>
    function reloadList() {
        location.reload();
    }
    function refload() {
        document.getElementById('refresh_right').className = 'refresh_M_on';
        document.getElementById('refresh_down').className = 'refresh_M_on';
        setTimeout("reloadList()", 1000);

    }
    $(function () {
        setInterval('djs()', 1000);
        var tboxH = $(".tbox").height() + 70;
        if (tboxH < 700) {
            tboxH = 700;
        }
        parent.frameHeight("showFrame",tboxH);parent.setLeftHeight(tboxH);alert(2);
    })
</script><div id="refresh_right" style="position: absolute; top: 39px; left: 805px;" class="refresh_M_btn" onclick="javascript:refload();"><span>刷新</span></div>
<div id="sportwrapbox">
    <div class="tbox">
        <div class="sporttop"><h1>今日足球 》 单式</h1></div>
        <div class="tbox_content">
            <dl>
                <dt>
                   {$page}
                </dt>
                <dd class="refresh">
                    <a href="javascript:;" onclick="reloadList()"><span id="djs">90</span></a>
                </dd>
                <dd>
                    <a href="http://www.18933mm.com/hg_sports/index/ft/gq#TB_inline?height=400&amp;width=660&amp;inlineId=leagueBox" title="选择联赛" class="thickbox">选择联赛(全)</a>
                </dd>
            </dl>
            <table border="1" cellpadding="0" cellspacing="0" id="data">
                <tbody>
                <tr class="datatop">
                    <th nowrap="" class="time">时间</th>
                    <th nowrap="" class="team">赛事</th>
                    <th nowrap="" class="h_1x2">独赢</th>
                    <th nowrap="" class="h_r">全场 - 让球</th>
                    <th nowrap="" class="h_ou">全场 - 大小</th>
                    <th nowrap="" class="h_oe">单双</th>
                    <th nowrap="" class="h_1x2">独赢</th>
                    <th nowrap="" class="h_r">半场 - 让球</th>
                    <th nowrap="" class="h_ou">半场 - 大小</th>
                </tr>
				<foreach name="list" item="v" >
                <tr><td colspan="9" class="b_title">{$v.match_name}</td></tr>    
                     <foreach name="v.list" item="vo" >  
			     	<tr class="b_cen">
                        <td rowspan="3" style=" white-space:nowrap;">
                            <div class="bf">{$vo.score}</div>
                        </td>
                        <td rowspan="2" align="left">
                            {$vo.home_team}<br> {$vo.away_team}</td>
                        <td><?php if($vo['dy_h']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","dy","dy_h")' title="<?php echo $vo['home_team']?>"><font><?php echo $vo['dy_h']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                        <td class="b_1st_R">
                            <span class="qiu">0</span>
							<?php if($vo['rq_h']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","rq","rq_h")' title="<?php echo $vo['home_team']?>"><font><?php echo $vo['rq_h']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                        <td>
                            <span class="qiu"></span>
                          <?php if($vo['dx_h']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","dx","dx_h")' title="<?php echo $vo['home_team']?>"><font><?php echo $vo['dx_h']?></font></a><?php }else{?>&nbsp;<?php }?>                      </td>
                        <td>
                                           <?php if($vo['ds_h']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","ds","ds_h")' title="<?php echo $vo['home_team']?>"><font><?php echo $vo['ds_h']?></font></a><?php }else{?>&nbsp;<?php }?>         </td>
                        <td class="b_1st"><?php if($vo['fh_dy_h']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","dy","fh_dy_h")' title="<?php echo $vo['home_team']?>"><font><?php echo $vo['fh_dy_h']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                        <td class="b_1st_R"><?php if($vo['fh_rq_h']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","rq","fh_rq_h")' title="<?php echo $vo['home_team']?>"><font><?php echo $vo['fh_rq_h']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                        <td class="b_1st"><span class="qiu"></span>
                           <?php if($vo['fh_dx_h']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","dx","fh_dx_h")' title="<?php echo $vo['home_team']?>"><font><?php echo $vo['fh_dx_h']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                    </tr>
                    <tr class="b_cen">
                       <td><?php if($vo['dy_c']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","dy","dy_c")' title="<?php echo $vo['away_team']?>"><font><?php echo $vo['dy_c']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                        <td class="b_1st_R">
                            <span class="qiu">0</span>
							<?php if($vo['rq_c']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","ds","rq_c")' title="<?php echo $vo['away_team']?>"><font><?php echo $vo['rq_c']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                        <td>
                            <span class="qiu"></span>
                          <?php if($vo['dx_c']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","dx","dx_c")' title="<?php echo $vo['away_team']?>"><font><?php echo $vo['dx_c']?></font></a><?php }else{?>&nbsp;<?php }?>                      </td>
                        <td>
                                           <?php if($vo['ds_c']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","ds","ds_c")' title="<?php echo $vo['away_team']?>"><font><?php echo $vo['ds_c']?></font></a><?php }else{?>&nbsp;<?php }?>         </td>
                        <td class="b_1st"><?php if($vo['fh_dy_c']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","dy","fh_dy_c")' title="<?php echo $vo['away_team']?>"><font><?php echo $vo['fh_dy_c']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                        <td class="b_1st_R"><?php if($vo['fh_rq_c']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","rq","fh_rq_c")' title="<?php echo $vo['away_team']?>"><font><?php echo $vo['fh_rq_c']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                        <td class="b_1st"><span class="qiu"></span>
                           <?php if($vo['fh_dx_c']!=''){?>
						<a href="javascript:" onclick='parent.orderFrame.selectMatch("<?php echo $vo['match_id']?>","ft","dx","fh_dx_c")' title="<?php echo $vo['away_team']?>"><font><?php echo $vo['fh_dx_c']?></font></a><?php }else{?>&nbsp;<?php }?></td>
                    </tr>
                    <tr class="b_cen">
                        <td align="left">和局</td>
                        <td>&nbsp;</td>
                        <td colspan="3"></td>
                        <td class="b_1st">&nbsp;</td>
                        <td class="b_1st" colspan="2"></td>
                    </tr>
                    <tr>
                        <td colspan="10" class="space"></td>
                    </tr>
               </foreach>
 </foreach>
                                </tbody>
            </table>
        </div>
    </div>

    <div id="refresh_down" class="refresh_M_btn" onclick="this.className=&#39;refresh_M_on&#39;;javascript:refload();">
        <span>刷新</span></div>
</div>


<div id="leagueBox">
    <form action="/index.php/sport/ft" method="post" id="leagueForm">
    <ul>
	<foreach name="leagues" item="v">
        <li><input type="checkbox" name="leagues[]" value="{$v.id}" checked="">{$v.match_name}</li>
 </foreach> 
    </ul>
    <div class="btnBox">
        <input type="hidden" name="select_all" class="selectAll" value="">
        <input type="hidden" name="btype" class="selectAll" value="ds">
        <input type="button" name="all" onclick="selectAll()" value="全选" class="btn">
        <input type="reset" name="unall" onclick="unselectAll()" value="全不选" class="btn">
        <input type="submit" name="submit" value="确定" class="btn">
    </div>
</form></div>


<script language="javascript">
    window.onscroll = scroll;
    function scroll() {

        var refresh_right = document.getElementById('refresh_right');
        refresh_right.style.top = document.body.scrollTop + 39 + 'px';
    }
</script>
</body></html>